package com.sc.admin.mapper.sys;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.sc.admin.model.entity.sys.SysDept;
import com.sc.admin.plugin.mybatis.annotation.DataPermission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *@Author shen chen
 *@Date 2024-12-17
 */
public interface SysDeptMapper extends BaseMapper<SysDept> {
    @DataPermission(deptIdColumnName = "id")
    @Override
    List<SysDept> selectList(@Param(Constants.WRAPPER) Wrapper<SysDept> queryWrapper);
}